package priv.wangy.micro.common.utils;

import java.text.NumberFormat;

/**
 *@author wangy
 *@since 2024/11/14
 */
public class NumberUtil {
    /**
     * 数值千分位分隔
     *
     * @author wangy
     * @since 13:37 2024/11/14
     * @param number
     * @return java.lang.String
     **/
    public static String numberFormat(int number) {
        NumberFormat formatter = NumberFormat.getNumberInstance();
        return formatter.format(number);
    }
}
